package com.macro.mall.dto.applet;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author xq
 * @description QuerySignListDTO
 * @date 2024/5/5 17:46
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class QuerySignListDTO {

    @ApiModelProperty(value = "前端不用传，会员编号")
    private Long memberId;

    @ApiModelProperty(value = "年")
    @NotNull(message = "查询签到年份不能为空")
    private String year;

    @ApiModelProperty(value = "月")
    @NotNull(message = "查询签到月份不能为空")
    private String month;

}